﻿using System;
using System.Collections.Generic;

namespace SelfService.Model.Models.Auto
{
    /// <summary>
    /// 支付
    /// </summary>
    public partial class AutoPay
    {
        /// <summary>
        /// ID
        /// </summary>
        public uint Id { get; set; }
        /// <summary>
        /// 身份证号码
        /// </summary>
        public string IdCardNo { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 充值金额
        /// </summary>
        public decimal Amount { get; set; }
        /// <summary>
        /// 订单ID
        /// </summary>
        public string OrderId { get; set; }
        /// <summary>
        /// 在线交易流水号
        /// </summary>
        public string TradeNo { get; set; }
        /// <summary>
        /// 支付类型:10=支付宝, 20=微信
        /// </summary>
        public sbyte PayType { get; set; }
        /// <summary>
        /// 状态:0=待支付, 10=未支付, 20=支付成功, 30=充值成功
        /// </summary>
        public sbyte Status { get; set; }
        /// <summary>
        /// His用户ID
        /// </summary>
        public string HisUserId { get; set; }
        /// <summary>
        /// 支付时间
        /// </summary>
        public DateTime? PayTime { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }
    }
}
